package com.wicture.erp4android.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.wicture.erp4android.R;

/**
 * 欢迎界面
 * @author Administrator
 *
 */
public class WelcomeAct extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.act_welcome);
		
			
			setContentView(R.layout.act_welcome);
			new Handler().postDelayed(new Runnable() {
				public void run() {
					toMain();
				}

				
			}, 3000);
		}

		
	

	protected void toMain() {
		Intent intent = new Intent(this, LoginAct.class);
		startActivity(intent);
		finish();
		
	}
}
